package vip.george.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author gehaodong
 * @since 2024/3/11
 * <p>
 * </P>
 */

@RestController
public class AdminController {

    @GetMapping(value = "/admin", produces = "text/html;charset=utf-8")
    public String admin() {
        System.out.println("用户请求了admin接口");
        return "admin role";
    }
}
